package com.aixx.springcloud.alibaba.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @author shkstart
 * @create 2021-02-18 14:14
 */
@Mapper
public interface AccountDao {

    void   decrease(@Param("userId") Long userid , @Param("money") BigDecimal money);

}
